import { useRoute } from 'vue-router'
import { onMounted } from 'vue'

export default function useLogRoute(logDesc: string = 'route') {


    const route = useRoute()

    onMounted(() => {
        console.log(logDesc, JSON.stringify(route))

    })

    return {
        route
    }
}
